package com.dcyao.musicserve.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class ConsumerDTO {
    private Integer staffId;
    private Integer id;

    private String username;

    private String oldPassword; //因为会用到用户旧密码 这无所谓的对应即可


    private String password;

    private Byte sex;

    private String phone;

    private String email;

    private String introduction;

    private String avatar;

    private Date createTime;

    private Date updateTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birth;

    private String token;

    /**
     * 唯一标识
     */
    private String md5;

    private Integer type;
    private String file;
    private String name;
    private String intro;
}
